package cn.com.qingz.modules.${module}.service.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import com.github.miemiedev.mybatis.paginator.domain.PageList;
import cn.com.qingz.modules.system.service.impl.GeneralServiceImpl;
import cn.com.qingz.modules.${module}.mapper.*;
import cn.com.qingz.modules.${module}.model.*;
import cn.com.qingz.modules.${module}.service.*;
import cn.com.qingz.modules.${module}.vo.*;
import tk.mybatis.mapper.entity.Example;

@Service
public class ${entity.className}ServiceImpl  extends GeneralServiceImpl<${entity.className}> implements ${entity.className}Service  {
	
	@Autowired
	private ${entity.className}Mapper  ${entity.lowerName}Mapper;
	
	public PageList<${entity.className}> queryForPage(Object condition, int page, int limit) {
		
		return  ${entity.lowerName}Mapper.queryForPage((${entity.className}SearchCondition) condition,  new PageBounds(page, limit));
	}

}
